//
//  homeCell.m
//  zhangGuangTianXia
//
//  Created by tangtangchitangtang on 2017/11/13.
//  Copyright © 2017年 tangtangchitangtang. All rights reserved.
//

#import "homeCell.h"

@implementation homeCell

-(void)creatView{
    UIImageView *imageView=[UIImageView new];
    [self addSubview:imageView];
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(15);
        make.width.height.mas_equalTo(80);
        make.centerY.mas_equalTo(0);
    }];
    
    UILabel *label=[UILabel new];
    [self addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(imageView.mas_right).mas_equalTo(7);
        make.right.mas_equalTo(-15);
        make.top.mas_equalTo(imageView.mas_top);
    }];
    label.numberOfLines=4;
    label.textColor=ColorWithRGB(149, 149, 149);
    label.font=[UIFont systemFontOfSize:14];
    label.text=@"三只松鼠 小贱手撕牛肉210g零食特产小吃牛肉干五香味";

}

@end
